package com.codeczx.nightmodedemo;

import android.app.Application;
import android.support.v7.app.AppCompatDelegate;

/**
 * Created by codeczx on 2017/9/22.
 */

public class App extends Application {

    static{
        AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_AUTO);
    }

}
